package com.application.dao;

import com.application.domain.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
public interface UserDao extends BaseMapper<User> {

        User  selectPassword(User user);


        User selectByUsername(User user);

        User selectByOpenidUser(String openid);

        List<User> getMemberByName(String name);

        int updateByLeader(String com_name,String position,String openid);

        int updateFlagByOpenid(String openid);

        String getSchool(String openid);


}
